package com.mind.adjust.task;

import jakarta.annotation.Resource;
import org.springframework.stereotype.Component;


@Component("syncRulePassTask")
public class SyncRulePassTask {
    @Resource
    private SyncRulePassService syncRulePassService;
    public void syncRulePass() {
        syncRulePassService.syncRulePass();
    }

    public void syncTicketTaskCount() {
        syncRulePassService.syncTicketTaskCount();
    }
//    @Scheduled(initialDelay = 1000, fixedDelay = 1000 * 60 * 60 * 24)
    public void syncHistoryTaskCount() {
        syncRulePassService.syncHistoryTicketTaskCount();
    }
//    @PostConstruct
    public void syncRulePassRate() {
        syncRulePassService.syncRuleCurrentPassRate();
    }
//    @PostConstruct
    public void syncHistoryRulePass() {
        syncRulePassService.syncHistoryRulePass();
    }
//    @PostConstruct
    public void syncHistoryTickTaskPass(){
        syncRulePassService.syncHistoryTickTaskPass();
    }


//    @PostConstruct
    public void syncHistoryRulePassRate(){
        syncRulePassService.syncHistoryRulePassRate();
    }
}
